package com.roger.myHome.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roger.myHome.entity.Course;
import com.roger.myHome.entity.CourseQTO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CourseMapper extends BaseMapper<Course> {
    Integer totalSize();

    List<Course> totalPage();

    List<Course> page(CourseQTO courseQTO);

}
